@using BootstrapSupport
@if (TempData.ContainsKey(Alerts.ATTENTION))
{
    <div class="alert alert-block">
        <a class="close" data-dismiss="alert" href="#">x</a>
        @TempData[Alerts.ATTENTION]
    </div>
}
@foreach (string key in Alerts.ALL.Except(new[] { Alerts.ATTENTION }))
{
    if (TempData.ContainsKey(key))
    {
    <div class="alert alert-@key">
        <button type="button" class="close" data-dismiss="alert">x</button>
        @TempData[key]
    </div>
    }
}